package com.imooc.files.controller;

import com.imooc.grance.result.GraceJsonResult;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created with IntelliJ IDEA.
 *
 * @auther Levi
 * @Date: 2021/03/18/9:06
 * @Description:
 */
@RestController
public class HelloController {

    @GetMapping("/hello")
    public Object hello() {
        return GraceJsonResult.ok("hello word!");
    }
}
